package com.ruoyi.project.modules.usage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 用况参与角色对象 t_usage_participate_role
 * 
 * @author smallrain
 * @date 2021-11-04
 */
public class UsageParticipateRole extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 用况ID */
    @Excel(name = "用况ID")
    private Long usageId;

    /** 参与角色ID */
    @Excel(name = "参与角色ID")
    private Long participateRoleId;

    private List<Long> participateRoleIds;

    public List<Long> getParticipateRoleIds() {
        return participateRoleIds;
    }

    public void setParticipateRoleIds(List<Long> participateRoleIds) {
        this.participateRoleIds = participateRoleIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUsageId(Long usageId) 
    {
        this.usageId = usageId;
    }

    public Long getUsageId() 
    {
        return usageId;
    }
    public void setParticipateRoleId(Long participateRoleId) 
    {
        this.participateRoleId = participateRoleId;
    }

    public Long getParticipateRoleId() 
    {
        return participateRoleId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("usageId", getUsageId())
            .append("participateRoleId", getParticipateRoleId())
            .toString();
    }
}
